package cn.net.dpi.core.exception;

public class InvalidParamException extends BaseException {

    public InvalidParamException() {
        super(ApiError.INVALID_PARAM);
    }

    public InvalidParamException(String message) {
        super(ApiError.INVALID_PARAM, message);
    }

    public InvalidParamException(ApiError error) {
        super(error);
    }

    public InvalidParamException(ApiError error, String message) {
        super(error, message);
    }

    public InvalidParamException(Integer code, String message) {
        super(code, message);
    }
}
